﻿using Entities;
using Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QueryExecutors
{
    internal class QueryCustomers : QueryExecutor
    {
        public void Execute(Customers query)
        {
            query.ByName = Query.Read<CustomerEntity>().OrderBy(c => c.FullName);
        }
    }
}
